package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.ChengcaiInfo;
import cn.gdut.chengcai.entity.ChengcaiInfoExample;

public interface ChengcaiInfoDao {
	long countByExample(ChengcaiInfoExample example);

	int deleteByExample(ChengcaiInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(ChengcaiInfo record);

	int insertSelective(ChengcaiInfo record);

	List<ChengcaiInfo> selectByExample(ChengcaiInfoExample example);

	ChengcaiInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") ChengcaiInfo record, @Param("example") ChengcaiInfoExample example);

	int updateByExample(@Param("record") ChengcaiInfo record, @Param("example") ChengcaiInfoExample example);

	int updateByPrimaryKeySelective(ChengcaiInfo record);

	int updateByPrimaryKey(ChengcaiInfo record);
}